package com.ruoyi.cloudsyncuser.service;

import com.ruoyi.cloudsyncuser.dto.UserRegistrationRequest;
import com.ruoyi.cloudsyncuser.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cloudsyncuser.utils.BaseResult;

/**
* @author 40278
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2024-10-25 17:42:41
*/
public interface UserService extends IService<User> {
    BaseResult sendCode(String phoneNumber);

    BaseResult loginByPwd(String username, String password);

    BaseResult registerUser(UserRegistrationRequest requestUser, String clientIp);

    BaseResult loginByTel(String phoneNumber, String code);

    BaseResult verifyToken(String token);
}
